const businessRouter = {
  // 业务组件
  path: '/business ',
  name: '业务组件', // 分类标题
  component: { render: e => e('router-view') }, // 解决嵌套路由情况下，不会渲染children组件的bug
  children: [
    {
      path: 'collapseDoc',
      name: '面板表单组件',
      component: () =>
        import('@/views/documents/business-components/kunkka-collapse-form'),
      hidden: false
    },
    {
      path: 'simpleDoc',
      name: '简单表格组件（simple）',
      component: () =>
        import('@/views/documents/business-components/kunkka-simple-table')
    },
    {
      path: 'editableDoc',
      name: '可编辑表格组件',
      component: () =>
        import('@/views/documents/business-components/kunkka-editable-table')
    },
    {
      path: 'onlyformDialog',
      name: '简单Form弹窗（simple）',
      component: () =>
        import('@/views/documents/business-components/kunkka-only-form-dialog')
    },
    {
      path: 'tableTransfer',
      name: '表格穿梭',
      component: () =>
        import('@/views/documents/business-components/kunkka-table-transfer')
    },
    {
      path: 'treeTransfer',
      name: '树穿梭',
      component: () =>
        import('@/views/documents/business-components/kunkka-tree-transfer')
    },
    {
      path: 'kunkkaTree',
      name: '树',
      component: () =>
        import('@/views/documents/business-components/kunkka-tree')
    },
    {
      path: 'kunkkaFormTablePopup',
      name: 'form + table 弹窗',
      component: () =>
        import('@/views/documents/business-components/kunkka-formtable-popup')
    },
    {
      path: 'minimizeDialog',
      name: '最小化弹窗',
      component: () =>
        import('@/views/documents/business-components/kunkka-minimize-dialog')
    },
    {
      path: 'kunkkaPanelLine',
      name: '面板连线',
      component: () =>
        import('@/views/documents/business-components/kunkka-panel-line')
    }
  ]
}
export default businessRouter
